package com.feignclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 使用Feign调用service-provider服务
 * 
 * @author zincredible
 * @date 2019-07-11 16:22:44
 *
 */
@FeignClient(value = "mall-a", fallback = IMallAServiceCallback.class)
public interface IMallAService {
    @GetMapping("/mall/a/api/user")
    public String userInfo();

}
